package com.bd.scm.domain.models.ttDev;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mason
 * @since 2019-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tt_dev")
public class TtDev extends Model<TtDev> {

    private static final long serialVersionUID = 1L;

    @TableId("tt_xh")
    private Integer ttXh;
    @TableField("tt_name")
    private String ttName;
    @TableField("module_id")
    private String moduleId;
    @TableField("dev_lb")
    private Integer devLb;
    @TableField("dev_type")
    private Integer devType;
    private Integer port;
    private Integer dlx;
    @TableField("isDesignated")
    private Integer isDesignated;
    @TableField("tab_name")
    private String tabName;
    @TableField("tab_title")
    private String tabTitle;
    @TableField("tab_id")
    private String tabId;
    @TableField("tab_fuc")
    private String tabFuc;
    @TableField("tab_post")
    private String tabPost;


    @Override
    protected Serializable pkVal() {
        return this.ttXh;
    }

}
